/*!
 * CSS Pour la partie Carousel de la médiathèque
 *
 * Copyright 2012, AUTHORS : BUYUKKALENDER MASSIS (héhé ^^)
 */
 
.carousel-background{
	width: 1024px;
	height: 220px;
	margin:auto auto;
	border-radius: 15px;
	/* Gradient */
	background-image: -webkit-gradient(
        linear,
        left top,
        left bottom,
        color-stop(0, #646262),
        color-stop(0.5, #484848),
        color-stop(0.5, #3D3D3D),
        color-stop(1, #4C4C4C)
    );
    background-image: -moz-linear-gradient(
        center top,
        #646262 0%,
        #484848 50%,
        #3D3D3D 50%,
        #4C4C4C 100%
    );
	/* Bordures arrondies */
	padding:10px;
	border:2px solid #ffffff;
	border-radius:50px;
	-moz-border-radius:50px;
	-webkit-border-radius:50px;
	border-top-right-radius:1000px;
	-moz-border-radius-topright:1000px;
	-webkit-border-top-right-radius:1000px;
	border-bottom-left-radius:1000px;
	-moz-border-radius-bottomleft:1000px;
	-webkit-border-bottom-left-radius:1000px;
	/* Ombre */
	box-shadow: 10px 10px 10px grey;
}

.container {
  	margin: auto auto ;
	position: relative;
	width: 80px;
	padding-top:45px;
	-webkit-perspective: 1100px;
    -moz-perspective: 1100px;
    -o-perspective: 1100px;
    perspective: 1100px;
}

#carousel {
	height: 100%;
	position: relative;
	-webkit-transform-style: preserve-3d;
	-moz-transform-style: preserve-3d;
	-o-transform-style: preserve-3d;
	transform-style: preserve-3d;
}

#carousel figure {
	display: block;
	position: absolute;
	/* Taille de la pochette DVD d'origine 720px x 1080px (ratio 1/9) */
	width: 90px; 
	height: 135px;
	border: 2px solid #ffffff;
	line-height: 120px;
	font-size: 80px;
	font-weight: bold;
	color: white;
	text-align: center;
	background: hsla(   0, 100%, 50%, 0.8 );
	-webkit-transition: -webkit-transform 1s;
    -moz-transition: -moz-transform 1s, opacity 0.6s ease-in-out;
    -o-transition: -o-transform 1s;
    transition: transform 1s;
    box-shadow: 10px 10px 10px black;
}